<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title th:text="${problemlist.title}"></title>
</head>
<body>
<body>
<H3 th:utext="${problemlist.title}"></H3>
<p th:utext="${problemlist.description}"></p>
<h4> 题目：</h4>
<table border="1">
<tr th:each="problem:${problemlist.problems}">
    <td > <a target="_blank" th:utext="${problem.title}" th:href="${'/problem/'+problem.problemid}"></a></td>
</tr>
</table>
<a th:if="${isAdmin eq 'YES'}" href="/adminhomepage">主页</a>
<a th:if="${isAdmin eq 'NO'}" href="/userhomepage">主页</a>
</body>
</body>
</html>